﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.SmartStorPro.Domain
{
    /// <summary>
    /// 供应商表
    /// </summary>
    public class Suppliers
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int SupplierID { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        /// 
        [MaxLength(50)]
        public string SupplierCode {  get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        /// 
        [MaxLength(50)]
        public string SupplierName {  get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        /// 
        [MaxLength(50)]
        public string SupplierType { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        /// 
        [MaxLength(50)]
        public string Phone { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        /// 
        [MaxLength(50)]
        public string ContactPerson { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        /// 
        [MaxLength(255)]
        public string Address { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 是否删除(1-删除 0正常)
        /// </summary>
        public bool IsDelete { get; set; }

    }
}
